Skip to content

Commit

Permalink
[ExExtendedLevels] Use DWORD instead BYTE as return of the function
Browse files Browse the repository at this point in the history
  • Loading branch information
jankowskib committed May 24, 2015
1 parent dafecd0 commit f49c897
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ExExtendedLevels.cpp
Expand Up @@ -40,7 +40,7 @@ BYTE __fastcall ExExtendedLevels::GetActByRoom2(int _1, Room2* pRoom2)
/*
Modified beacuse the original function uses town lvl to determine act
*/
BYTE __stdcall ExExtendedLevels::GetActByLevelNo(DWORD nLevel)
DWORD __stdcall ExExtendedLevels::GetActByLevelNo(DWORD nLevel)
{
if (nLevel >= (*D2Vars.D2COMMON_sgptDataTables)->dwLevelsRecs)
{
Expand Down
2 changes: 1 addition & 1 deletion ExExtendedLevels.h
Expand Up @@ -23,7 +23,7 @@

namespace ExExtendedLevels
{
BYTE __stdcall GetActByLevelNo(DWORD nLevel);
DWORD __stdcall GetActByLevelNo(DWORD nLevel);
BYTE __fastcall GetActByLevelNo_STUB1(DWORD nLevel);
BYTE __fastcall GetActByLevelNo_STUB2(DWORD nLevel);
BYTE __fastcall GetActByLevel(Level* pLevel);
Expand Down

0 comments on commit f49c897

Please sign in to comment.