mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-12 02:08:14 +08:00
[saco] Match IsATrainPart(...)
This commit is contained in:
1 parent
c9d437f4ed
commit
a7f6b48efb
2 files changed
+6
-6
No files matched your search
+2
-2
@@ -1495,10 +1495,10 @@ BOOL __stdcall IsATrainPart(ENTITY_TYPE *pEntity)
|
||||
if(pEntity) {
|
||||
nModel = pEntity->nModelIndex;
|
||||
dwEntityModelIndex = pEntity->nModelIndex;
|
||||
if(nModel == TRAIN_FREIGHT_LOCO) return TRUE;
|
||||
if(nModel == TRAIN_FREIGHT) return TRUE;
|
||||
if(nModel == TRAIN_PASSENGER_LOCO) return TRUE;
|
||||
if(nModel == TRAIN_PASSENGER) return TRUE;
|
||||
if(nModel == TRAIN_FREIGHT_LOCO) return TRUE;
|
||||
if(nModel == TRAIN_FREIGHT) return TRUE;
|
||||
if(nModel == TRAIN_TRAM) return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
|
||||
Reference in new issue
Block a user