mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
Merge branch 'development' of https://github.com/GarageGames/Torque3D into memberMess
# Conflicts: # Engine/source/console/consoleFunctions.cpp
This commit is contained in:
commit
cbce2ee805
154 changed files with 2950 additions and 705 deletions
|
|
@ -446,8 +446,9 @@ bool afxMagicMissileData::onAdd()
|
|||
Vector<char*> dataBlocks(__FILE__, __LINE__);
|
||||
|
||||
// make a copy of points_string
|
||||
char* tokCopy = new char[dStrlen(wiggle_axis_string) + 1];
|
||||
dStrcpy(tokCopy, wiggle_axis_string);
|
||||
dsize_t tokCopyLen = dStrlen(wiggle_axis_string) + 1;
|
||||
char* tokCopy = new char[tokCopyLen];
|
||||
dStrcpy(tokCopy, wiggle_axis_string, tokCopyLen);
|
||||
|
||||
// extract tokens one by one, adding them to dataBlocks
|
||||
char* currTok = dStrtok(tokCopy, " \t");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue