mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-09-21 06:12:56 -04:00
pick up some stragglers
This commit is contained in:
@@ -230,6 +230,8 @@
|
||||
#include "swgSharedUtility/SpeciesRestrictions.h"
|
||||
#include "unicodeArchive/UnicodeArchive.h"
|
||||
|
||||
#include "sharedFoundation/CrcConstexpr.hpp"
|
||||
|
||||
#include <limits>
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
@@ -4935,7 +4937,7 @@ void GameServer::handleTeleportMessage(TeleportMessage const &message)
|
||||
buf[sizeof(buf)-1] = '\0';
|
||||
|
||||
Command::ErrorCode status = Command::CEC_Success;
|
||||
creature->forceExecuteCommand(CommandTable::getCommand(Crc::calculate("planetwarp")), NetworkId::cms_invalid, Unicode::narrowToWide(buf), status, false);
|
||||
creature->forceExecuteCommand(CommandTable::getCommand(constcrc("planetwarp")), NetworkId::cms_invalid, Unicode::narrowToWide(buf), status, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include "serverUtility/ServerClock.h"
|
||||
#include "sharedFoundation/Clock.h"
|
||||
#include "sharedFoundation/ConstCharCrcLowerString.h"
|
||||
#include "sharedFoundation/Crc.h"
|
||||
#include "sharedGame/SharedObjectTemplate.h"
|
||||
#include "sharedLog/Log.h"
|
||||
#include "sharedNetworkMessages/GenericValueTypeMessage.h"
|
||||
@@ -39,6 +38,8 @@
|
||||
#include "sharedUtility/DataTable.h"
|
||||
#include "sharedUtility/DataTableManager.h"
|
||||
|
||||
#include "sharedFoundation/CrcConstexpr.hpp"
|
||||
|
||||
#include <climits>
|
||||
|
||||
// ======================================================================
|
||||
@@ -47,7 +48,7 @@ const SharedObjectTemplate * IntangibleObject::m_defaultSharedTemplate = nullptr
|
||||
uint32 IntangibleObject::ms_lastFrame = 0;
|
||||
uint32 IntangibleObject::ms_theaterTime = 0;
|
||||
|
||||
static const uint32 THEATER_DATATABLE_TAG = Crc::calculate("THEATER");
|
||||
static const uint32 THEATER_DATATABLE_TAG = constcrc("THEATER");
|
||||
|
||||
static const std::string THEATER_TEMPLATE("object/intangible/theater/base_theater.iff");
|
||||
static const std::string THEATER_FLATTEN_LAYER("terrain/poi_small.lay");
|
||||
|
||||
Reference in New Issue
Block a user