diff options
| author | GreYFoXGTi <GreYFoXGTi@GMaiL.CoM> | 2011-02-12 12:40:36 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-02-12 21:18:41 +0100 |
| commit | 1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251 (patch) | |
| tree | d4b94b98105c3af23c79bae02a132bfe66738392 /src/tools/map_resave.cpp | |
| parent | e45ad2a085d8f02aadc5d823a1d7dda4e1da70aa (diff) | |
| download | zcatch-1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251.tar.gz zcatch-1b2703aaba9ef21b8fca7c12b299fcd0fd4b9251.zip | |
Refactoring & fixed WEAPONSPEC_GUN in content.py
Diffstat (limited to 'src/tools/map_resave.cpp')
| -rw-r--r-- | src/tools/map_resave.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/map_resave.cpp b/src/tools/map_resave.cpp index f7d6e18d..d97f0323 100644 --- a/src/tools/map_resave.cpp +++ b/src/tools/map_resave.cpp @@ -7,7 +7,7 @@ int main(int argc, const char **argv) { IStorage *pStorage = CreateStorage("Teeworlds", argc, argv); - int Index, Id = 0, Type = 0, Size; + int Index, ID = 0, Type = 0, Size; void *pPtr; char aFileName[1024]; CDataFileReader DataFile; @@ -26,9 +26,9 @@ int main(int argc, const char **argv) // add all items for(Index = 0; Index < DataFile.NumItems(); Index++) { - pPtr = DataFile.GetItem(Index, &Type, &Id); + pPtr = DataFile.GetItem(Index, &Type, &ID); Size = DataFile.GetItemSize(Index); - df.AddItem(Type, Id, Size, pPtr); + df.AddItem(Type, ID, Size, pPtr); } // add all data |