mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-10-18 08:03:11 -04:00
hopefully implement va_end properly - may require some fixes or reverts, partial or full
This commit is contained in:
@@ -535,7 +535,7 @@ uint32 PlayerShipController::getCurSyncStamp() const
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
void PlayerShipController::logMoveFail(char const *reasonFmt, ...) const
|
||||
void PlayerShipController::logMoveFail(char const reasonFmt, ...) const
|
||||
{
|
||||
ShipObject const * const ship = NON_NULL(getShipOwner());
|
||||
Client const * const client = NON_NULL(ship->getClient());
|
||||
@@ -554,6 +554,7 @@ void PlayerShipController::logMoveFail(char const *reasonFmt, ...) const
|
||||
client->getCharacterObjectId().getValueString().c_str(),
|
||||
client->getStationId(),
|
||||
reason));
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
@@ -76,7 +76,7 @@ private:
|
||||
|
||||
uint32 getCurSyncStamp() const;
|
||||
bool checkValidMove(Transform const &transform, Vector const &velocity, float speed, uint32 syncStamp);
|
||||
void logMoveFail(char const *reasonFmt, ...) const;
|
||||
void logMoveFail(char const reasonFmt, ...) const;
|
||||
|
||||
private:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user