Skip to content

Commit

Permalink
Fixed MAV when equipping the NVGs, updated the readme file and change…
Browse files Browse the repository at this point in the history
…list
  • Loading branch information
Regalis committed Aug 9, 2016
1 parent 98f6bf7 commit 32d2146
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
30 changes: 16 additions & 14 deletions Main.bb
Expand Up @@ -5149,23 +5149,25 @@ Function DrawGUI()

End Select

If SelectedItem\itemtemplate\img <> 0
Local IN$ = SelectedItem\itemtemplate\tempname
If IN$ = "paper" Or IN$ = "badge" Or IN$ = "oldpaper" Or IN$ = "ticket" Then
For a_it.Items = Each Items
If a_it <> SelectedItem
Local IN2$ = a_it\itemtemplate\tempname
If IN2$ = "paper" Or IN2$ = "badge" Or IN2$ = "oldpaper" Or IN2$ = "ticket" Then
If a_it\itemtemplate\img<>0
If a_it\itemtemplate\img <> SelectedItem\itemtemplate\img
FreeImage(a_it\itemtemplate\img)
a_it\itemtemplate\img = 0
If SelectedItem <> Null Then
If SelectedItem\itemtemplate\img <> 0
Local IN$ = SelectedItem\itemtemplate\tempname
If IN$ = "paper" Or IN$ = "badge" Or IN$ = "oldpaper" Or IN$ = "ticket" Then
For a_it.Items = Each Items
If a_it <> SelectedItem
Local IN2$ = a_it\itemtemplate\tempname
If IN2$ = "paper" Or IN2$ = "badge" Or IN2$ = "oldpaper" Or IN2$ = "ticket" Then
If a_it\itemtemplate\img<>0
If a_it\itemtemplate\img <> SelectedItem\itemtemplate\img
FreeImage(a_it\itemtemplate\img)
a_it\itemtemplate\img = 0
EndIf
EndIf
EndIf
EndIf
EndIf
Next
EndIf
Next
EndIf
EndIf
EndIf

If MouseHit2 Then
Expand Down
8 changes: 2 additions & 6 deletions README.md
Expand Up @@ -6,11 +6,7 @@ This game and the source code are licensed under Creative Commons Attribution-Sh

http://creativecommons.org/licenses/by-sa/3.0/

Requirements
• Blitz3D v1.106
• FastExt.bb (needs to be version 1.17)
• FastExt.dll (is included in SCP:CB)

Note: Due to Blitz3D and FastExt.bb (the non-trial version) requiring paid-for licenses, they aren't included in the repository. You have to acquire them yourself.
Requirements:
• Blitz3D v1.108

Beware - the source code is perhaps more horrifying than the game itself!
6 changes: 4 additions & 2 deletions changelist.txt
@@ -1,4 +1,3 @@

----------------------------------------------------------------------------------

v1.3.1
Expand All @@ -8,8 +7,9 @@ Juanjpro saves the day again:
- ditching the libraries allowed switching to a newer version of Blitz3D, which
has some bugfixes for newer versions of windows
- brightness can be changed in fake fullscreen mode and windowed mode
- hopefully fixed room2sl's event (with saving)
- NPC ID assignment bugfix

- hopefully fixed room2sl's event (with saving)
- new textures and icons for documents and notes
- fixed checkpoint monitors
- fixed collision bugS in room2sl and room3offices
Expand All @@ -19,6 +19,8 @@ Juanjpro saves the day again:
- Emily Ross' badge and some items from SCP-1162 can now be put in the clipboard
- more things are now affected by the ''Other Difficulty Factors'' setting
- fixed MAVs in the 1048a event
- sound volume setting is saved
- loading/freeing documents is now handled better
- other minor fixes and improvements

----------------------------------------------------------------------------------
Expand Down

0 comments on commit 32d2146

Please sign in to comment.