Changeset 10478 for code/branches/core7/src/modules/objects
- Timestamp:
- May 25, 2015, 5:37:15 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/modules/objects/Script.cc
r10465 r10478 198 198 for(std::map<unsigned int, PlayerInfo*>::const_iterator it = clients.begin(); it != clients.end(); it++) 199 199 { 200 callStaticNetworkFunction( Script::executeHelper, it->first, this->getCode(), this->getMode(), this->getNeedsGraphics());200 callStaticNetworkFunction(&Script::executeHelper, it->first, this->getCode(), this->getMode(), this->getNeedsGraphics()); 201 201 if(this->times_ != Script::INF) // Decrement the number of remaining executions. 202 202 { … … 210 210 else 211 211 { 212 callStaticNetworkFunction( Script::executeHelper, clientId, this->getCode(), this->getMode(), this->getNeedsGraphics());212 callStaticNetworkFunction(&Script::executeHelper, clientId, this->getCode(), this->getMode(), this->getNeedsGraphics()); 213 213 if(this->times_ != Script::INF) // Decrement the number of remaining executions. 214 214 this->remainingExecutions_--; … … 248 248 if(GameMode::isServer() && this->isOnLoad()) 249 249 { 250 callStaticNetworkFunction( Script::executeHelper, clientId, this->getCode(), this->getMode(), this->getNeedsGraphics());250 callStaticNetworkFunction(&Script::executeHelper, clientId, this->getCode(), this->getMode(), this->getNeedsGraphics()); 251 251 } 252 252 }
Note: See TracChangeset
for help on using the changeset viewer.