Skip to content

Commit

Permalink
NWN2: 16-character resource limit doesn't apply to NWN2
Browse files Browse the repository at this point in the history
  • Loading branch information
rjshae committed Feb 12, 2019
1 parent b1fe3a6 commit 7a09556
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/engines/nwn2/script/functions_action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@ void Functions::delayCommand(Aurora::NWScript::FunctionContext &ctx) {
void Functions::executeScript(Aurora::NWScript::FunctionContext &ctx) {
Common::UString script = ctx.getParams()[0].getString();

// Max resource name length is 16, and ExecuteScript should truncate accordingly
script.truncate(16);

if (!ResMan.hasResource(script, Aurora::kFileTypeNCS))
return;

Expand Down

0 comments on commit 7a09556

Please sign in to comment.