mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-10-19 09:02:53 -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);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user