mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
(svn r18832) -Fix: some indentation whitespace.
This commit is contained in:
parent
251ffaa000
commit
c07c7a3818
2
src/3rdparty/squirrel/squirrel/sqobject.cpp
vendored
2
src/3rdparty/squirrel/squirrel/sqobject.cpp
vendored
@ -201,7 +201,7 @@ const SQChar* SQFunctionProto::GetLocal(SQVM *vm,SQUnsignedInteger stackbase,SQU
|
|||||||
SQUnsignedInteger nvars=_nlocalvarinfos;
|
SQUnsignedInteger nvars=_nlocalvarinfos;
|
||||||
const SQChar *res=NULL;
|
const SQChar *res=NULL;
|
||||||
if(nvars>=nseq){
|
if(nvars>=nseq){
|
||||||
for(SQUnsignedInteger i=0;i<nvars;i++){
|
for(SQUnsignedInteger i=0;i<nvars;i++){
|
||||||
if(_localvarinfos[i]._start_op<=nop && _localvarinfos[i]._end_op>=nop)
|
if(_localvarinfos[i]._start_op<=nop && _localvarinfos[i]._end_op>=nop)
|
||||||
{
|
{
|
||||||
if(nseq==0){
|
if(nseq==0){
|
||||||
|
2
src/3rdparty/squirrel/squirrel/sqvm.cpp
vendored
2
src/3rdparty/squirrel/squirrel/sqvm.cpp
vendored
@ -436,7 +436,7 @@ bool SQVM::LOCAL_INC(SQInteger op,SQObjectPtr &target, SQObjectPtr &a, SQObjectP
|
|||||||
|
|
||||||
bool SQVM::PLOCAL_INC(SQInteger op,SQObjectPtr &target, SQObjectPtr &a, SQObjectPtr &incr)
|
bool SQVM::PLOCAL_INC(SQInteger op,SQObjectPtr &target, SQObjectPtr &a, SQObjectPtr &incr)
|
||||||
{
|
{
|
||||||
SQObjectPtr trg;
|
SQObjectPtr trg;
|
||||||
_RET_ON_FAIL(ARITH_OP( op , trg, a, incr));
|
_RET_ON_FAIL(ARITH_OP( op , trg, a, incr));
|
||||||
target = a;
|
target = a;
|
||||||
a = trg;
|
a = trg;
|
||||||
|
@ -2470,7 +2470,7 @@ static void DrawTile_Station(TileInfo *ti)
|
|||||||
*/
|
*/
|
||||||
void DrawStationTileSeq(const TileInfo *ti, const DrawTileSprites *dts, TransparencyOption to, int32 total_offset, uint32 relocation, SpriteID default_palette)
|
void DrawStationTileSeq(const TileInfo *ti, const DrawTileSprites *dts, TransparencyOption to, int32 total_offset, uint32 relocation, SpriteID default_palette)
|
||||||
{
|
{
|
||||||
const DrawTileSeqStruct *dtss;
|
const DrawTileSeqStruct *dtss;
|
||||||
foreach_draw_tile_seq(dtss, dts->seq) {
|
foreach_draw_tile_seq(dtss, dts->seq) {
|
||||||
SpriteID image = dtss->image.sprite;
|
SpriteID image = dtss->image.sprite;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user